package com.gxa.pojo.goods;

import java.math.BigDecimal;

public class Goods1 {
    private int gid;
    private String gname;
    private String barcode;
    private String unit;
    private BigDecimal price;
    private int count;
    private String onetypename;
    private String twotypename;
    private int state;
    public Goods1(){

    }

    public Goods1(int gid, String gname, String barcode, String unit, BigDecimal price, int count,  String onetypename,  String twotypename, int state) {
        this.gid = gid;
        this.gname = gname;
        this.barcode = barcode;
        this.unit = unit;
        this.price = price;
        this.count = count;

        this.onetypename = onetypename;

        this.twotypename = twotypename;
        this.state = state;
    }

    public int getGid() {
        return gid;
    }

    public void setGid(int gid) {
        this.gid = gid;
    }

    public String getGname() {
        return gname;
    }

    public void setGname(String gname) {
        this.gname = gname;
    }

    public String getBarcode() {
        return barcode;
    }

    public void setBarcode(String barcode) {
        this.barcode = barcode;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }



    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getOnetypename() {
        return onetypename;
    }

    public void setOnetypename(String onetypename) {
        this.onetypename = onetypename;
    }

    public String getTwotypename() {
        return twotypename;
    }

    public void setTwotypename(String twotypename) {
        this.twotypename = twotypename;
    }

    @Override
    public String toString() {
        return "Goods{" +
                "gid=" + gid +
                ", gname='" + gname + '\'' +
                ", barcode='" + barcode + '\'' +
                ", unit='" + unit + '\'' +
                ", price=" + price +
                ", count=" + count +
                ", onetypename='" + onetypename + '\'' +
                ", twotypename='" + twotypename + '\'' +
                ", state=" + state +
                '}';
    }
}
